package com.ray.pojo;

import java.io.Serializable;

import com.ray.bean.CustomerBean;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class PurchaseOrderDetailPojo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//采购单主表id
	private String mainId;//主表id
	private String purchaseDetailId;
	private Integer type;//类型  1 订单采购 2库存采购
	private String company;//公司
	private String purchasePeople;//采购人
	private String currency;//币别
	private String providerName;//供应商名称
	private Integer agent;//经销商
	private Integer printNeetApproval;//打印需要审核
	//明细类
	private String detailId;//id 
	private String feedDetailId;//对应表id
	private String feedOrderFeedCount;//投料单投料数
	private String actualFeedCount;//实际投料数
	private String availableCount;//占用数
	private Double purchaseCount;//采购数量
	private Integer isFinish;//是否完成  0 未完成  1 完成
	private Double inCount;//入库数量
	private Double price;//价格
	private Double tax;//税率
	private Integer status;//状态 0待审核 1 已审核 2 退回
	private String statusStr;
	private String createUser;//创建人
	private String createUserId;//创建人id
	private String createTime;//创建时间
	private int isApprovalUser;//是否可操作
	private String [] auditableUser;//
	private String approvalUser;//审批人 
	private String approvalTime;//审批时间
	private String factoryNo;//工厂型号
	private String articleNo;//客户型号
	private String laterPhaseOne;//复期one
	private String laterPhaseTwo;//复期two
	private String laterPhaseThr;//复期three
	private String laterPhaseFour;//复期four
	private String isPrint;//是否已打印
	private String purchaseTime;//采购日期
	private String orderId;//系统订单编号
	private String companyOrderId;//公司订单编号
	private Integer procurementCycles;//采购周期
	//用于判断审核后是否可以继续退回
	private String specialRemark;//订单修改记录
	//对比specialRemark
	private String materialFactory;//仓位
	private String lineNo;//行号
	private String inCountDate;//物料入库日期
	private Integer tardiness;//拖期天数
	private Integer isOpraterAdd;
	private String providerNo;//供方编号
	
	//物料类型
	private String mtId;//物料id
	private String materialCode;//物料代码
	private String materialType;//物料类型
	private String materialName;//物料名称
	private String color;//色号
	private String colorDescription;//色号描述
	private String model;//规格
	private String unit;//单位
	private String defaultWarehouse;//默认仓库
	private String qualityType;//材质
	private String img;//物料图片
	private Integer materialDeptId;
	private String materialDeptName;
	private String transmittance;//透光率
	
	//客户类
	private CustomerBean customerBean; 
	private String customerId;//客户id
	private String customerName;//供应商
	private String contact;//联系人
	private String phone;//联系电话
	private String fax;//传真
	private String address;//地址
	
	//订单明细
	private String feedTotal;
	private String orderTotal;
	private String yltsTotal;
	private int isShowYltsTotalOnPurchase;
	private String remark;
	
	//hidePriceForPurchase
	private int hidePriceForPurchase;
	
	//投料单备注
	private String feedOrderRemark;
	
	
}